/**
 * 
 */
package com.ez.supervise.service.impl;

import java.util.List;

import com.ez.supervise.core.Page;
import com.ez.supervise.dao.QueryDao;
import com.ez.supervise.model.biz.Cms;
import com.ez.supervise.service.QueryService;

/**
 * @author searph.wang
 * @email searph.wang@gmail.com
 * @Created at 2009-7-22
 * 
 */
public class QueryServiceImpl implements QueryService {
    private QueryDao queryDao;

    // public int update(Cms org) {
    // return sqlMapClientTemplate.update("sys.updateCms", org);
    // }

    public void setQueryDao(QueryDao queryDao) {
	this.queryDao = queryDao;
    }

    public void queryCheckProgressByPage(Page page) {
	page.setRoot(queryDao.queryCheckProgressByPage(page));
	page.setTotalProperty(queryDao.queryCheckProgressByCount(page));
    }


    public void queryCheckResultByPage(Page page) {
	page.setRoot(queryDao.queryCheckResultByPage(page));
	page.setTotalProperty(queryDao.queryCheckResultByCount(page));
    }


    public void queryOrgCheckSelfByPage(Page page) {
	page.setRoot(queryDao.queryOrgCheckSelfByPage(page));
	page.setTotalProperty(queryDao.queryOrgCheckSelfByCount(page));
    }


    public void delete(Long id) {
	// TODO Auto-generated method stub
	
    }


    public Object get(Long id) {
	// TODO Auto-generated method stub
	return null;
    }


    public void insert(Object entity) {
	// TODO Auto-generated method stub
	
    }


    public void update(Object entity) {
	// TODO Auto-generated method stub
	
    }

}
